package com.jiajia;

/**
 * @author : zjj
 * @date : 2022/4/27 16:12
 */

interface Func{
    public boolean func(String str);
}
public class Demo07InvokeDynamic {

    public static void main(String[] args) {
        Demo07InvokeDynamic demo07InvokeDynamic = new Demo07InvokeDynamic();
        Func func = s -> {return false;};
        demo07InvokeDynamic.lambda(func);
        demo07InvokeDynamic.lambda(s->{return true;});
    }

    public void lambda(Func func){
        return ;
    }
}
